package com.taotao.springmvc.controller;

import org.springframework.stereotype.Component;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.xml.ws.Response;
import java.io.PrintWriter;


/**
 * @Author: wangjin
 * @CreateTime: 2022-08-15  21:58
 */
@Component("/implController")
public class TaoTaoImplController implements Controller {

    @Override
    public ModelAndView handleRequest(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws Exception {
        PrintWriter writer= httpServletResponse.getWriter();
        writer.println("TaoTaoImplController");
        writer.close();
        return null;
    }
}
